package com.runyun.project.mapper;

import com.runyun.project.entity.Follow;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FollowMapper {

    List<Integer> queryByUserId(Integer userId);

    int insertFollow(Follow follow);

    int deleteFollow(Integer userId, Integer followedId);

}
